package wzy.com.sideslipbar;

import android.support.v4.app.FragmentManager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

public class MainActivity extends AppCompatActivity {
    private LeftMenuFragment mLeftMenuFragment;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        FragmentManager fm = getSupportFragmentManager();
        mLeftMenuFragment = new LeftMenuFragment();
        fm.beginTransaction().add(R.id.id_container_menu, mLeftMenuFragment).commit();
    }
}
